/*
 * Image.h
 *
 *  Created on: Aug 26, 2011
 *      Author: ryan
 */

#ifndef IMAGE_H_
#define IMAGE_H_

#include "Common.h"
#include <stddef.h>

class Image {
public:
	Image(){
		height = 0;
		width = 0;
		data = NULL;
	}
	virtual ~Image(){
		for(int i = 0; i < width; ++i){
			delete[] data[i];
		}
		if(data != NULL){
			delete[] data;
		}
	}
	int height, width;
	Color** data;
};

#endif /* IMAGE_H_ */
